public class Car1 {
    String brand;
    String pailiang;
    String winght;
    String mali;

public void print(){
    System.out.println("发动机的品牌为"+brand);
    System.out.println("发动机的排量为"+pailiang);
    System.out.println("发动机的重量为"+winght);
    System.out.println("发动机的马力为"+mali);
}
public void show(){
    System.out.println("压缩空气");
    System.out.println("雾化汽油");
    System.out.println("点火");
    System.out.println("排废烟");

}
}